<div class="results_wrap profile_view">
  {{#with profile}}
  <div class="profile_summary_container">
    <div class="profile_summary">
      <div class="row-fluid">
        <div class="span4">
          <p class="query-duration-roundtrip"><span class="big">{{total_duration}}</span> round-trip time</p>
        </div>
        <div class="span4">
          <p class="query-duration-server"><span class="big">{{server_duration}}</span> server time</p>
        </div>
        <div class="span4">
          <p class="query-tasks"><span class="big">{{num_shard_accesses}}</span> shard accesses</p>
        </div>
      </div>
    </div>
  </div>
  <button class="btn copy_profile" data-clipboard-text="{{clipboard_text}}">
    Copy to clipboard
  </button>
  <div class="profile_container">{{{tree}}}</div>
  {{/with}}
  {{#unless profile}}
  <div class="activate_profiler_message">
    <p><a href="#" class="activate_profiler">Enable</a> the query profiler (developer preview) and re-run the query.</p>
  </div>
  {{/unless}}
</div>
